package cn.iocoder.yudao.module.member.controller.admin.userrelation.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 户关系分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class UserRelationPageReqVO extends PageParam {

    @Schema(description = "客户id", example = "32345")
    private Long memberUserId;

    @Schema(description = "燃气户id", example = "889")
    private Long crmMemberUserId;

    @Schema(description = "0户主1授权")
    private Integer relation;

    @Schema(description = "0正常1废弃", example = "2")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] createTime;

}
